﻿using SqlSugar;

namespace DataImporter.Models
{
    /// <summary>
    /// 心脏病意外评估风险模型实体表
    /// </summary>
    public class HDAARM
    {
        /// <summary>
        /// ID
        /// </summary>
        public virtual int Id { set; get; }

        /// <summary>
        /// 问题名称
        /// </summary>
        public virtual string Name { set; get; }

        /// <summary>
        /// 编码
        /// </summary>
        public virtual string Code { set; get; }

        /// <summary>
        /// 分数
        /// </summary>
        public virtual int Score { set; get; }

        /// <summary>
        /// 分类ID
        /// </summary>
        public virtual int Category { set; get; }

        /// <summary>
        /// 规则
        /// </summary>
        public virtual string Rule { set; get; }

        /// <summary>
        /// 单选
        /// </summary>
        public virtual bool Radio { set; get; }

        /// <summary>
        /// 备注
        /// </summary>
        public virtual string Remark { set; get; }

        /// <summary>
        /// 排序
        /// </summary>
        public virtual int Order { set; get; }

        /// <summary>
        /// 问题ID
        /// </summary>
        public virtual int QuestionId { set; get; }

        /// <summary>
        /// 父ID
        /// </summary>
        public virtual int ParentId { set; get; }

        /// <summary>
        /// 分类名称
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public virtual string CategoryName { set; get; }
    }
}
